const data = [
  {
    id: 2,
    pid: 0,
    path: '/course',
    name: 'Course',
    title:'课程管理'
  },
  {
    id: 3,
    pid: 2, // parentId
    path: '/course',
    name: 'Course',
    title:'课程操作'
  },
  {
    id: 4,
    pid: 3,
    path: '/course',
    name: 'Course',
    title:'课程数据'
  },
  {
    id: 5,
    pid: 2,
    path: '/course',
    name: 'Course',
    title:'增加爱课程'
  },
  {
    id: 6,
    pid: 0,
    path: '/course',
    name: 'Course',
    title:'学生管理'
  },
  {
    id: 7,
    pid: 6,
    path: '/course',
    name: 'Course',
    title:'学生操作'
  },
  {
    id: 8,
    pid: 6,
    path: '/course',
    name: 'Course',
    title:'增加学生'
  },
  {
    id: 9,
    pid: 8,
    path: '/course',
    name: 'Course',
    title:'增加学生'
  }
]